package 设计模式.strategy;

import java.util.HashMap;

/**
 * @功能
 * @创建时间 2020/5/4
 */
public class  Client {
    public static void main(String[] args) {
        HashMap map  =new HashMap();
        map.put("1",2);
        Strategy s =new NewCustomerFewStrategy();
        Strategy e =new NewCustomerManyStrategy();
        Context c = new Context(s);
        Context w = new Context(e);
        c.printPrice(100.00);
        w.printPrice(100.00);
    }



}
